<div class="mainbox">
    <div class="_comment">
        {{#if !bus.evaluations.length}}
        <p>暂无发表任何评价</p>
        {{#else}} {{#each bus.evaluations}}
        <div class="commentitem">
            <div class="obj">
                <h3>评价等级:{{star_num}}</h3>
                <div class="item">
                    <div class="i">买家:{{#if comment.commenter_info.name}} {{comment.commenter_info.name}} {{#else}} 匿名买家 {{/if}}
                    </div>
                    <div class="i">商品:<a href="mobile.main.html#default/goods_details.html?id={{goods._id}}">{{goods.goods_name}}</a>
                    </div>
                </div>
                <div class="item">
                    <div class="i">时间:{{#Time comment.create_time,'YYYY年MM月DD日'}}</div>
                    <div class="i">价格:{{goods.price}}</div>
                </div>
                <div class="item">
                    评价内容:{{comment.content}}
                </div>
            </div>
            <div class="_reply">
                {{#if comment.comments.length}} {{#each comment.comments}}
                <replynode></replynode>
                {{/each}}{{/if}}
                <L:input placeholder="回复" bind-input="{{'$Cache.eval.reply_content'}}" value="{{$Cache.eval.reply_content}}"></L:input>
                <sbutton text="发表" event-click="{{'$Top.$Event.eval.reply_eval'}}" class="btn" shadownum1="0 0 10px 0" shadownum2="0 0 5px 0"></sbutton>
            </div>
        </div>
        {{/each}} {{#if moreeva}}
        <p>没有更多啦！</p>{{#else}}
        <sbutton text="更多评价" class="btn" shadownum1="0 0 10px 1px" shadownum2="0 0 5px 0" event-click="{{'$Event.bus.eval.change_page'}}"></sbutton>
        {{/if}}{{/if}}
    </div>
</div>

<xmp type="tag" name="replynode">
    <div class="replyitem">
        <div class="replychild">
            <div class="replyer"><b>{{commenter_info.name}}</b>
            </div>
            {{content}}
        </div>
        {{#if comments.length}} {{#each comments}}
        <div class="replychild">
            <div class="replyer"><b>{{commenter_info.name}}</b>
            </div>
            {{content}}
        </div>
        {{/each}} {{/if}}
       <!--  <L:input placeholder="回复" bind-input="{{'_reply_content'}}" value="{{_reply_content}}"></L:input>
        <sbutton text="发表" event-click="{{'$Top.$Event.comment.reply'}}" class="btn" shadownum1="0 0 10px 0" shadownum2="0 0 5px 0"></sbutton> -->
    </div>
</xmp>
